﻿using System;

namespace WcfMasterSlaveElectionService
{
    /// <summary>
    /// The ExpectMasterEventArgs is raised by the MasterElectionService. The MasterElectionService passes to the instance
    /// if the MasterElectionService expects the instance to be in the 'active' of 'passive' mode.
    /// </summary>
    public class ExpectMasterEventArgs : EventArgs
    {
        /// <summary>
        /// True: if instance is expected to be the master
        /// False: if hte instance is to be expected a slave
        /// </summary>
        public bool ExpectedRoleIsMaster { get; internal set; }
    }
}
